-
Notifications
You must be signed in to change notification settings - Fork 15
BEP020 patches #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEP020 patches #260
Conversation
|
@rwblair @julia-pfarr I think that this approach (of having a Unfortunately, this means we can't use normal sidecar rules to indicate that the error should be fixed in a particular If we want to think about expanding schema/validator capabilities, we could allow EyetrackingStimulusPresentation:
issue:
code: JSON_KEY_MISSING
level: error
message: |
`StimulusPresentation` metadata for the events file associated with {path}
({associations.events.path}) must have `ScreenDistance`, `ScreenOrigin`,
`ScreenResolution` and `ScreenSize` fields.
selectors:
- suffix == 'physio'
- sidecar.PhysioType == 'eyetrack'
checks:
- 'ScreenDistance' in associations.events.sidecar.StimulusPresentation
- 'ScreenOrigin' in associations.events.sidecar.StimulusPresentation
- 'ScreenResolution' in associations.events.sidecar.StimulusPresentation
- 'ScreenSize' in associations.events.sidecar.StimulusPresentationIt looks like there are a couple JS libraries to implement Python-like |
|
Yes, I think the empty As for your solution for the validator, I can't say much because I don't know the technical details of the validator, but I trust you that this is good solution! |
146f691 to
52ae234
Compare
|
With BEP020 accepted in principle, we should go ahead and merge this. No open discussions impact any decisions made here. |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
TODO:
Message interpolationSee feat: Add issue message formatting #267xref